home *** CD-ROM | disk | FTP | other *** search
/ Amiga Magazin: Amiga-CD 1996 March / Amiga-CD 1996 #3.iso / pd-software / mui_3.1 / developer / extclasses / mcc_userdata / userdata_mcc.h < prev    next >
C/C++ Source or Header  |  1996-01-19  |  1KB  |  43 lines

  1. #ifndef MUI_USERDATA_MCC_H
  2. #define MUI_USERDATA_MCC_H
  3.  
  4. /*
  5. ** Custom class header files should have a "_mcc" appended and
  6. ** should be place in include:MUI/
  7. */
  8.  
  9. /*
  10. ** Public name for the custom class.
  11. ** Note that you *must* register public names with the author of MUI.
  12. ** All unregistered public classes are promised to go on a builtin
  13. ** blacklist and will fail with future versions of MUI!
  14. */
  15.  
  16. #define MUIC_UserData "UserData.mcc"
  17.  
  18. /*
  19. ** Attributes and methods for the new class.
  20. ** Your tags have to be named MUI(A/M)_<classname>_<foobar>.
  21. ** The upper sixteen bits of your tag values need to be
  22. ** (TAG_USER | ( <your MUI serial Nr> << 16 ))
  23. ** Again, classes with invalid tag specs are promised to
  24. ** go on the blacklist. This implies that you have to
  25. ** be a registered MUI user if you want to distribute
  26. ** public classes.
  27. */
  28.  
  29. #define MUIA_UserData_Name    ((TAG_USER | ( 1 << 16)) | 0x0001)
  30. #define MUIA_UserData_First   ((TAG_USER | ( 1 << 16)) | 0x0002)
  31. #define MUIA_UserData_Street  ((TAG_USER | ( 1 << 16)) | 0x0003)
  32. #define MUIA_UserData_City    ((TAG_USER | ( 1 << 16)) | 0x0004)
  33. #define MUIA_UserData_Country ((TAG_USER | ( 1 << 16)) | 0x0005)
  34. #define MUIA_UserData_EMail   ((TAG_USER | ( 1 << 16)) | 0x0006)
  35. #define MUIA_UserData_Phone   ((TAG_USER | ( 1 << 16)) | 0x0007)
  36.  
  37. #define MUIM_UserData_Edit    ((TAG_USER | ( 1 << 16)) | 0x0101)
  38. #define MUIM_UserData_Print   ((TAG_USER | ( 1 << 16)) | 0x0102)
  39.  
  40. #define UserDataObject MUI_NewObject(MUIC_UserData
  41.  
  42. #endif
  43.